| iMatix home page | << | < | > | >> |
SMT Version 2.81 |
#include "smtsimu.h" int smtsimu_sock_init (void)
Replaces the normal sock_init() function call. Initialises the socket interface as usual, and then initialises the network delay simulation agent. Returns SOCKET_ERROR if there was an error, else returns 0.
{ /* Really start sockets */ if (sock_init ()) return ((int) SOCKET_ERROR); /* Now initialise the SMTSIMU agent, and return 0 or SOCKET_ERROR */ if (smtsimu init ()) return ((int) SOCKET_ERROR); else return (0); }
| << | < | > | >> | Copyright © 1996-99 iMatix Corporation |