Problem with Socket?

It is possible to create a client/server system with sockets without having that to define an IP to connect itself to the server
I have a system in vb6 but I am not obtaining to translate into net 2005
Thanks



Answer this question

Problem with Socket?

  • Antonio de Souza

    Having said that, you can 'broadcast' messages to everyone: this is really only useful to send out an 'is anyone out there ' message, and the server respond with an 'i'm here at xyz address'; the conversation will then continue through a connection established to that address.

    It is accurately this that you said, to send one broadcast to all and the server it answers with the IP, but I am not obtaining to make this the VS2005. It can help me
    sorry for my english!

  • Walt-the-IT-Guy

    I looked for in the aid of the studio appearance but I did not find nothing that could help me, therefore what I found was in another language, could help me with some Sample in vb

    Sorry



  • Richard Sayad

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadvnet/html/vbnet08282001.asp

    The link is to a 'chat client' application using sockets - a good place to start.



  • Kris2006

    Thanks, this is great link....

  • c_jensen

    Bottom line is no. You could rephrase the question: Is it possible to send an e-mail to someone without knowing their address

    Having said that, you can 'broadcast' messages to everyone: this is really only useful to send out an 'is anyone out there ' message, and the server respond with an 'i'm here at xyz address'; the conversation will then continue through a connection established to that address.



  • Kent Liu

    for UDP use the address 255.255.255.255
    every one on the local network will get the packet
    type broadcast into visual studio help

  • ricky816

    Very thanks David.



  • BrentM2

    up post! please help me

  • Problem with Socket?