AW: AW: AW: [En-Nut-Discussion] net Errno 10057

Joachim Skale joachim.skale at tele2.at
Wed Nov 30 18:04:39 CET 2005


hi, 

my problem is to find out why the socket state != TCPS_ESTABLISHED in the function
NutTcpReceive.

After sending over TCP i checked the state. Everything was fine. 
But after calling NutTcpReceive the socket state != TCPS_ESTABLISHED without any changes from me.



Joachim

-----Ursprungliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de]Im Auftrag von Harald Kipp
Gesendet: Mittwoch, 30. November 2005 17:04
An: Ethernut User Chat (English)
Betreff: Re: AW: AW: [En-Nut-Discussion] net Errno 10057


Have a look into include/sys/sock_var.h for
struct tcp_socket. Error 10057 is typically
set if sock->so_state != TCPS_ESTABLISHED.

Harald

At 13:12 30.11.2005 +0100, you wrote:
>hi,
>
>i've implemented the NUTTHREADINFO to get infos about all threads.
>space is enough for every therad, and the memory isn't corrupted.
>
>how can i control a valid socket pointer ?

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion



More information about the En-Nut-Discussion mailing list