NetBurner 3.5.0
PDF Version |
|
Typedefs | |
typedef void | tcp_notify_handler(int tcpFd) |
TCP notification callback type. | |
Functions | |
void | RegisterTCPReadNotify (int tcpFd, tcp_notify_handler *notifyHandler) |
Register a TCP socket and callback function for read notifications. | |
void | RegisterTCPWriteNotify (int tcpFd, tcp_notify_handler *notifyHandler) |
Register a TCP socket and callback function for write notifications. | |
#include< tcp.h >
Advanced function for notification of read or write activivty on a TCP socket. Callback functions can operate on a TCP socket as they would normally. This functionality provides a method of notification when read or write activities occur:
typedef void tcp_notify_handler(int tcpFd) |
#include <tcp.h>
TCP notification callback type.
An application creates a callback function of this type to process TCP read and/or write notifications.
tcpFd | TCP socket file descriptor of the socket that generated the notification |
void RegisterTCPReadNotify | ( | int | tcpFd, |
tcp_notify_handler * | notifyHandler ) |
#include <tcp.h>
Register a TCP socket and callback function for read notifications.
The callback function will be called whenever data is read from the TCP socket
tcpFd | Existing TCP socket file descriptor to monitor |
notifyHandler | Pointer to callback function to process the notification |
void RegisterTCPWriteNotify | ( | int | tcpFd, |
tcp_notify_handler * | notifyHandler ) |
#include <tcp.h>
Register a TCP socket and callback function for write notifications.
The callback function will be called whenever data can be written to the TCP socket buffer
tcpFd | Existing TCP socket file descriptor to monitor |
notifyHandler | Pointer to callback function to process the notification |