|
From: | Bill Auerbach |
Subject: | RE: [lwip-users] fundamentally flawed attempt at a TCP send |
Date: | Wed, 16 Sep 2009 11:27:22 -0400 |
First, the ip address isn’t a constant, but a struct
ip_addr *. Your code may well compile, but you should observe and
correct the warnings. The last parameter to tcp_connect should simply be
the name of the function which lwIP will callback when the connection is made.
This is should not be a function call. The tcp_write would occur after
you are notified of the connection (by the callback to tcp_connect). Bill From:
address@hidden
[mailto:address@hidden On Behalf
Of sirnails Hello All, struct tcp_pcb *pcb; a few questions: Program received signal
SIGSEGV, Segmentation fault. Im sorry to be asking such a
stupid question, I hope you can help! View this message in context: fundamentally
flawed attempt at a TCP send |
[Prev in Thread] | Current Thread | [Next in Thread] |