python - How can i ignore server response to save bandwidth? -


i using server send piece of information server every second. problem other server response few kilobytes , consumes bandwidth on first server ( 2 gb in hour ). send request , ignore return ( not receive save bandwidth ) ..
use small python script task using (urllib). don't mind using other tool or other language if going make request only.

a 5k reply small stuff , below standard tcp window size of os. means if close network connection after sending request , checking first bytes of reply (to sure request has been received) server sent whole answer , packets on wire or on computer.

if cannot control (i.e. trim down) server reply notification alternative can think add server on remote machine waiting simple command , doing real request locally , sending result code. can done may bash/perl/python using example netcat/wget locally.

by way there strange in math glenn maynard correctly wrote in comment.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -