SOCKETLISTEN/de

From MCS Wiki AVR
< SOCKETLISTEN
Revision as of 19:16, 15 February 2013 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

= (**COPIED FROM ENGLISH PAGE**) === Action

Opens a socket in server(listen) mode.

 

 

Syntax

SOCKETLISTEN socket

 

 

Remarks

Socket

The socket number you want to use for the server in the range of 0 -3. Or 0-7 for W5200/W5300.

 

The socket will listen to the port you specified with the GetSocket function.

When a client connects, the socket status changes in sock_established. When a connection is established, you can send or receive data.

 

After the connection is closed by either the client or the server, a new connection need to be created and the SocketListen statement must be used again.

 

 

See also

CONFIG TCPIP, GETSOCKET , SOCKETCONNECT, SOCKETSTAT , TCPWRITE, TCPWRITESTR, TCPREAD, SOCKETCLOSE ,SOCKETDISCONNECT

 

 

Example

See SOCKETCONNECT example



Languages   English • Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language
Database error - MCS Wiki AVR

Database error

Revision as of 19:16, 15 February 2013 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "". Database returned error "1020: Record has changed since last read in table 'avr_page' (localhost)".
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language