[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] lwip_socket and tcp_new
From: |
Shivaraj |
Subject: |
[lwip-users] lwip_socket and tcp_new |
Date: |
Thu, 31 Aug 2006 12:27:25 +0530 |
User-agent: |
Opera Mail/9.01 (Linux) |
Hi all
I have used lwip stack to create a tcp connection on a simulator.
On the simulator I tried using tcp_new which connects to a url.
The problem is I have a requirement to open the socket
as in
sock = socket(PF_INET,SOCK_STREAM,0);
file = fdopen(sock,"r");
I have used lwip stack to call tcp_new for a new tcp connection.
(lwip_socket not used as it contacts system/kernel for memory settings)
But tcp_new returns a tcp_pcb which doesn't have a file descriptor in it.
Is the requirement feasible?
If yes how?
Regards
_____________
Shivaraj
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] lwip_socket and tcp_new,
Shivaraj <=