Hi all,<br>So I still have some problems with the socketAppender.<br>I&#39;m using the server and the client (sample code) that comes with the Logback.<br>I&#39;m sending a string to a server that is about 4KB in size. (in the &quot;for&quot; loop)<br>
When I&#39;m executing this &quot;for&quot; loop once or twice or even 4 times <br>nothing gets transmitted from the client to the server. I get nothing <br>just a message that server is waiting for data, then I get message<br>
saying that the socket connections has been closed.<br>Now, when I&#39;m executing the same exactly code and <br>I&#39;m running the same loop (that sends the 4KB string over to the server)<br>but say 10 or more times, everything works! <br>
I&#39;m not an expert on how TCP/IP works but <br>it looks to me that the socket closes the connection before the data I&#39;m sending<br>gets actually transmitted to the server.<br>How do I keep the socket open until the data gets to the server?<br>
Any suggestion?<br>Thanks<br>Greg<br>&nbsp; <br>