Port
-
Hi, In a socket I want to send data on port 5004 and receive it on port 5004. I want to know, maybe another data on this port or only the data that I sent ?
Best wishes
-
Hi, In a socket I want to send data on port 5004 and receive it on port 5004. I want to know, maybe another data on this port or only the data that I sent ?
Best wishes
Hi mehrdadc48 :-D I don't understand this part:
mehrdadc48 wrote:
I want to know, maybe another data on this port or only the data that I sent ?
Could you explain it another way? I'm guessing you will need the TcpListener class. Try Googling that, or put another message in this thread explaining what you want to do - in a little more detail.
Kind regards - Jakob :cool: ********************************************* Three kinds of people in the world: - Those who can count.. - Those who can't! 10 kinds of people in the world: - Those who understand binary - Those who don't
-
Hi mehrdadc48 :-D I don't understand this part:
mehrdadc48 wrote:
I want to know, maybe another data on this port or only the data that I sent ?
Could you explain it another way? I'm guessing you will need the TcpListener class. Try Googling that, or put another message in this thread explaining what you want to do - in a little more detail.
Kind regards - Jakob :cool: ********************************************* Three kinds of people in the world: - Those who can count.. - Those who can't! 10 kinds of people in the world: - Those who understand binary - Those who don't
Hi Jakob Lund Krarup for example on port 5004 that I working with it, is it possible to receive another data that I don't send it ?
Best wishes
-
Hi Jakob Lund Krarup for example on port 5004 that I working with it, is it possible to receive another data that I don't send it ?
Best wishes
Hi mehrdadc48 I hope I am understanding you when I guess: You want to listen on port 5004 for any data sent to it? I beleive you can set up a TcpListener object to listen for any data sent to a given port on the machine you're running the program from. If you are using .net 2.0: http://msdn.microsoft.com/msdnmag/issues/05/08/HighPerformanceSockets/default.aspx[^] If you are using .net 1.0 http://www.eggheadcafe.com/articles/20020323.asp[^]
Kind regards - Jakob :cool: ********************************************* Three kinds of people in the world: - Those who can count.. - Those who can't! 10 kinds of people in the world: - Those who understand binary - Those who don't