Re: [lwip-users] [lwip-devel] netconn_bind() not working?

2014-09-26 Thread rlesko
I was wrong.  I never got the server working, but I was overlooking the fact
that Windows would not be aware of TCP connections lwIP made.  



--
View this message in context: 
http://lwip.100.n7.nabble.com/Re-lwip-devel-netconn-bind-not-working-tp23274p23354.html
Sent from the lwip-users mailing list archive at Nabble.com.

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] [lwip-devel] netconn_bind() not working?

2014-09-16 Thread goldsi...@gmx.de

rlesko wrote:

-Through TCPView I can see on my machine that there is nothing connected on
port 80.


Maybe it's me, but I don't get what this has to do with lwIP?


Simon

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] [lwip-devel] netconn_bind() not working?

2014-09-16 Thread rlesko
Hi Simon, 

Thanks for the reply.  Let me be a little more specific...I understand that
TCPView isn't monitoring lwIP.  Maybe I can explain things a little
differently. 

-I have verified that netconn_bind() is being called, and that port 80 is
available. 
-Through TCPView I can see on my machine that there is nothing connected on
port 80.   

To me, based on those two factors, I am concluding that something is not
working in the process of binding the IP address to port 80.  At this point,
I have tried digging into the framework but as a first time lwIP user it is
quite difficult.   

Is this a WinPcap issue? Is it a lwIP issue?  I don't know.  Would you have
any ways of determining where the hole is?  Or perhaps I am barking up the
wrong tree? 

Thanks, 
Ryan



--
View this message in context: 
http://lwip.100.n7.nabble.com/Re-lwip-devel-netconn-bind-not-working-tp23274p23281.html
Sent from the lwip-users mailing list archive at Nabble.com.

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] [lwip-devel] netconn_bind() not working?

2014-09-16 Thread goldsi...@gmx.de
I'm forwarding this to lwip-users, which is more the target of this than 
lwip-devel.


rlesko wrote:

I am trying to get the lwIP test apps running in a windows environment.  I'm
not sure if its relevant but I am running Windows 7 via Parallels on a mac.
The ping test app works and now I've moved on to the httpd server test.
>From what I understand the application should open an http connection on a
port (it is defaulted to port 80) and wait for an incoming connection.  For
debugging I am using TCPView to look at my ports as well as Wireshark.


TCPView works on your windows, not on lwIP. The lwIP win32 port works 
through winpcap and acts just like a machine attached to your network 
cable (watch out for checksum errors though!).


Wireshark shows you packets, not bound sockets.


Simon

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users