- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to use fdopen to convert an LWIP socket FD to a stream. I get no errors, but It doesn't seem to work...
int newFd = accept (sFd, &client, &saddrsize);
if (newFd != ERROR)
{
FILE * tout = fdopen(newFd,"w");
fprintf(tout,"Hello world\r\n");
}
standard recv/send on the socket works just fine - anyone seen this? - Roddy
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page