Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PUDPSocket::Write ( const void *  buf,
PINDEX  len 
) [virtual]

Override of PChannel functions to allow connectionless writes

buf  Pointer to a block of memory to write.
len  Number of bytes to write.

Reimplemented from PChannel.

Definition at line 3183 of file sockets.cxx.

  if (sendPort == 0)
    return PIPDatagramSocket::Write(buf, len);
    return PIPDatagramSocket::WriteTo(buf, len, sendAddress, sendPort);

Generated by  Doxygen 1.6.0   Back to index