Socket.ReceiveFrom

  • Thread starter Thread starter Chang
  • Start date Start date
C

Chang

why Socket.ReceiveFrom(byte[], ref EndPoint) and SendTo(byte[], ref
EndPoint) uses ref ? I know what ref means but why it has to use ref is the
question.

Thanks a lot,
Chang
 
I think its an artefact from the original code. You should be able to find
the source to an implementation of the Berkeley Sockets Protocol online.

ok,
aq
 
Back
Top