Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for bnickerson

Hi, My webserver code is trying to send an image file over a TCP connection. However, the send() function is returning a -1 value with the error: Connection Reset by peer. I am using a web-browser to access the server so my guess is that the server is somehow sending …

Member Avatar for abhimanipal
0
960
Member Avatar for bnickerson

Hi, I am writing a program that is to behave as a web server. Both the client and the server code are on my laptop. Ideally, I should be able to type in 127.0.0.1: PORT/index.html in Firefox and the server code should reply appropriately. So far my browser and the …

Member Avatar for bnickerson
0
2K
Member Avatar for bnickerson

Hi, I am writing code for a webserver and am trying to send a html file called index.html over a TCP socket. How would I do this? At the moment I am trying to read the contents of the file and then send them over the connection. However, the page …

Member Avatar for nezachem
0
282