filesize() returns 0


Posted on 16th Feb 2014 07:03 pm by admin

I have a socket program that runs in an infinite loop, listening for connections, in this socket I have a method, that is supposed to open a file and write to the file, but I am having issues. Each call to the socket happens about once every 1.5 seconds, and then, it writes to the socket, but for some reason, filesize is always returning "0" even when the file is 1.5kb in size.

No comments posted yet

Your Answer:

Login to answer
109 Like 44 Dislike
Previous forums Next forums
Other forums

[RESOLVED] Socket/Port remains open after app crashes
I'm having this problem with a networked app in vb.net.

If the program exits normally the por

Need Reporting Advice
My SQL server doesn't support MS SQL reporting services that comes with SQL Enterprise or Express. T

Help with some dates
I have a list of dates in an array:

$mondays = array(
strtotime("October 12, 2009

Menu restriction
How can I restrict the individual menu that would appear when a user logs in so that all users are c

Lack of simpleXML Documentation
What is up with this.

Look at: http://www.php.net/manual/en/function.simplexml-load-file.php<

trouble printing an array....
I'm having some trouble printing out an array forwards. I'm figuring out the high and low of an arra

Javascript or not?
How many people prefer javascript/ajax sites? How many prefer the good old fashion straight php sit

Working with Dates, help.
Sooo to make a long story short, here's what im trying to accomplish.

I need to create a drop

Windows 7
Windows 7 default user account control worries experts. Corporate IT departments should be pleased w

Troubles with a spider class
I am building a spider that will crawl through random whitepages (eg. anywho.com, switchboard.com, w

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash