Asheeown Posted May 17, 2008 Share Posted May 17, 2008 I am running a php program that connects to a program with a raw socket connection. I need to know how much bandwidth, just a ballpark estimate, it's connecting, typing two commands and retrieving like 40 lines of text and that's it. Anyone know anything that could tell me how much bandwidth it's using? Link to comment https://forums.phpfreaks.com/topic/106009-bandwidth-monitoring/ Share on other sites More sharing options...
rochakchauhan Posted November 30, 2008 Share Posted November 30, 2008 Well one way (not an optimized one though) to find out the bandwidth used is: Step 1) Write all the content / sting you read to a file on the server. Step 2) Then use filesize () to get the bandwidth used.. Link to comment https://forums.phpfreaks.com/topic/106009-bandwidth-monitoring/#findComment-702115 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.