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

  • Thread starter Thread starter Ryan Liu
  • Start date Start date
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
 
..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
 
Back
Top