Not so.  I've bound both of them to port 4010, in a peer to peer type idea.  Both have different IP address to send to so the port shouldn't cause any problems?
 
for example..
 
App A
    port 4010
    IP    123456
 
App B
    port 4010
    IP    654321
 
Let the client port be assigned by the OS, and connect to a preset and agreed server port.  Like:
 
App A sending to App B:
    App A port: wxyz (auto-assigned by the OS)
    App B port: 4010
 
App B sending to App A:
    App A port: 4010 (auto-assigned by the OS)
    App B port: wxyz
No it works fine.  The only thing I found strange was the fact that it sends 1.9Kb of data per second but receives 2.8Kb of data per second.  I put to down to using UDP and having duplicate packets appearing - although I'm not entirely convinced of this. 
Hmm, I'm not really sure...  I've not used UDP that much I'm afraid.

Freedom from fever is still far from being knowledge! Refrigerated spirits I do not believe in. He who cannot lie, does not know what truth is.
-Thus Spoke Zarathustra, F. W. Nietzsche
_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to