Re: Eunet or EuLibnet or TCP socket library (or socket.e)

new topic     » goto parent     » topic index » view thread      » older message » newer message
acEduardo said...

I've read the Euphoria source code, it uses a fixed length buffer for the socket IO, of 1024 bytes, and sacrificing the last byte. I had too perceived this 1023 limitation while developing a scgi server.

Seems to me the solution is, first send a "start file trans" packet, containing the size and checksum of the data, then send various "file-chunk" packets, each one carrying a "chunk id", maybe a "file id".

I mostly agree with this. This guy has a similar solution but using only the length prefix. I just wish there was a shrink-wrapped solution in Euphoria available for download.

Spock

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu