Client applikation context


Functions

int ix_set_server_disconnect_cb (IX_SERVER_DISCONNECT_FCT cb)
int ix_open_data (struct in_addr *addr, unsigned short port)

Detailed Description

Use functionality of Net Packets to set up and send net packets to server applications.

Function Documentation

int ix_open_data ( struct in_addr *  addr,
unsigned short  port 
)

Opens a tcp data stream connection to an ix data stream server

Parameters:
addr internet address of server
port port number of data stream server
Returns:
  • file descriptor
  • <0 Error

int ix_set_server_disconnect_cb ( IX_SERVER_DISCONNECT_FCT  cb  ) 

Set global callback for server disconnect. Note: You can individual set a callback for each send, see ix_net_setcb()

Parameters:
cb disconnect callback
Returns:
  • 0 OK
  • <0: Error


Generated on 4 Mar 2014 for ixtools by  doxygen 1.4.7