good idea to call Conect() in both UDP Server and client?

R

Ryan Liu

Hi,

Is that a good idea or right thing to call Connect(remoteIP, remotePort) in
both UDP client and server?

This is to make sure they only receive data from each other, not from
someone else, provided that both server and client port are fixed.

Thanks,
Ryan
 
C

Chan Ming Man

..Net Remoting it seems. Can you use DCOM or Web Services for your
application? If not then you do need to explicitly specify your IP and Port.
So I think that is the only idea.

chanmm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top