TCPIP

TCPIP

Top  Previous  Next

The TCPIP library allows you to use the W3100A internet chip from www.iinchip.com

 

There are also libraries for W5100, W5200 and W5300.

MCS has developed a special development board that can get you started quickly with TCP/IP communication. Look at http://www.mcselec.com for more info.

 

All tcpip lbx files areshipped with BASCOM-AVR

 

 

The following functions are provided:

 

CONFIG TCPIP

Configures the W3100 chip.

GETSOCKET

Creates a socket for TCP/IP communication.

SOCKETCONNECT

Establishes a connection to a TCP/IP server.

SOCKETSTAT

Returns information of a socket.

TCPWRITE

Write data to a socket.

TCPWRITESTR

Sends a string to an open socket connection.

TCPREAD

Reads data from an open socket connection.

CLOSESOCKET

Closes a socket connection.

SOCKETLISTEN

Opens a socket in server(listen) mode.

GETDSTIP

Returns the IP address of the peer.

GETDSTPORT

Returns the port number of the peer.

BASE64DEC

Converts Base-64 data into the original data.

BASE64ENC

Convert a string into a BASE64 encoded string.

MAKETCP

Encodes a constant or 4 byte constant/variables into an IP number

UDPWRITE

Write UDP data to a socket.

UDPWRITESTR

Sends a string via UDP.

UDPREAD

Reads data via UDP protocol.

 

The MCS webshop offers the WIZ810MJ ethernet module, and a special converter board so it has few connections.

WIZ810MJ module

TCPADB5100 adapter board.