BSDSocket Structure

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
BSDSocket Structure
C
struct BSDSocket {
  int SocketType;
  BSD_SCK_STATE bsdState;
  WORD localPort;
  WORD remotePort;
  DWORD remoteIP;
  int backlog;
  BOOL isServer;
  TCP_SOCKET SocketID;
};
Description

Berkeley Socket structure

Members
Members 
Description 
int SocketType; 
Socket type 
BSD_SCK_STATE bsdState; 
Socket state 
WORD localPort; 
local port 
WORD remotePort; 
remote port 
DWORD remoteIP; 
remote IP 
int backlog; 
maximum number or client connection 
BOOL isServer; 
server/client check 
TCP_SOCKET SocketID; 
Socket ID 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.