class network_socket
Definition
#include <
data-flow/include/SocketStream.h
>
Inherited by
socket_streambuf
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index
Public Methods
network_socket
(int type, int port)
~
network_socket
()
void
printOn
(ostream &out) const
void
init_broadcast
()
size_t
send_packet
(unsigned char *packet, size_t size)
size_t
recv_packet
(unsigned char *packet, size_t size)
void
shutdown
()
void
socket_connect
(const char *host)
void
socket_listen
(int backlog, bool blocking)
void
socket_accept
()
int
get_type
()
int
get_port
()
Public Members
static const int
BROADCAST_TYPE
static const int
TCP_STREAM_TYPE
Detailed Description
static const int
BROADCAST_TYPE
static const int
TCP_STREAM_TYPE
network_socket
(int type, int port)
~
network_socket
()
void
printOn
(ostream &out)
[const]
void
init_broadcast
()
size_t
send_packet
(unsigned char *packet, size_t size)
size_t
recv_packet
(unsigned char *packet, size_t size)
void
shutdown
()
void
socket_connect
(const char *host)
void
socket_listen
(int backlog, bool blocking)
void
socket_accept
()
int
get_type
()
int
get_port
()
Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40.