Lines Matching full:connection
186 packets and has a fixed table for holding connection state. The global
206 the network per connection.
262 of the connection, when a new connection has been set up, or when data
267 application is able to act on incoming data and connection requests as
274 successfully delivered to the remote end of the connection. If the
310 \subsubsection connstate The Connection Pointer
313 set to point to the uip_conn structure for the connection that
314 currently is handled, and is called the "current connection". The
315 fields in the uip_conn structure for the current connection can be
317 which IP address the connection is connected. One typical use would be
319 which service the connection should provide. For instance, an
327 the connection has sent new data. The uip_appdata pointer point to the
352 connection and it is not possible to call uip_send() more than once
360 connection is decremented. If the timer reaches zero, a retransmission
383 The application closes the current connection by calling the
384 uip_close() during an application call. This will cause the connection
386 application might want to abort the connection and does so by calling
389 If the connection has been closed by the remote end, the test function
395 There are two fatal errors that can happen to a connection, either
396 that the connection was aborted by the remote host, or that the
397 connection retransmitted the last data too many times and has been
404 When a connection is idle, uIP polls the application every time the
409 application periodically know that a connection is idle, which allows
414 otherwise idle connection.
419 listening with the uip_listen() function. When a connection request
420 arrives on a listening port, uIP creates a new connection and calls
422 the application was invoked because a new connection was created.
425 check to which port the new connection was connected.
431 allocates a new connection and sets a flag in the connection state
432 which will open a TCP connection to the specified IP address and port
433 the next time the connection is polled by uIP. The uip_connect()
436 connection. If there are no free connection slots, the function
443 open a connection to TCP port 8080 of the remote end of the current
444 connection. If there are not enough TCP connection slots to allow a
445 new connection to be opened, the uip_connect() function returns NULL
446 and the current connection is aborted by uip_abort().
456 The second example shows how to open a new connection to a specific IP
476 listens for incoming connections on port 1234. When a connection has
518 prints out a welcoming "Welcome!" message when the connection has been
607 remote end or the local end of the connection. The example below shows
663 When the connection has been established, an HTTP request is sent to
740 send, the connection is closed using uip_close().
750 act on acknowledged data, send new data, deal with connection
791 connection has been closed, the closed() function is called to the it
794 Next, the function checks if the connection has just been established
797 connection is established, such as intializing the application state
798 for the connection. Since it may be the case that data should be sent
803 waits for any data to arrive on the connection, and responds to the
876 The application does not handle errors or connection closing events,
880 The connected() function will be called when a connection has been
887 check if the connection is in the "STATE_WAITING" state, and if so
889 " message with the connection. This message will later be sent out by
902 "STATE_WORLD" state, it closes the connection.
907 a new connection has been established, when the connection is polled
997 packet acknowledges previously sent data, the connection state is
1003 TCP allows a connection to listen for incoming connection requests. In
1004 uIP, a listening connection is identified by the 16-bit port number
1005 and incoming connection requests are checked against the list of
1020 only a single TCP segment per connection to be unacknowledged at any
1031 active connection in order to find a suitable value for the
1036 each connection that has unacknowledged data in the network. When an
1047 connection is decremented. If the timer reaches zero, a retransmission
1088 Since uIP only handles one in-flight TCP segment per connection,