Post

Replies

Boosts

Views

Activity

Network framework only receiving first chunk of data
Hey I've run into an issue using network framework in that I'm only receiving the first chunk of data. I really can't tell if it's how I'm using the Network.framework bits on the client side, or if it's an issue with the server side (I'm using Vapor). I put together a basic example project that hopefully demonstates the issue. If you run the server target and then the client target for me I receive 174 bytes in the first receive, receive is then called again but nothing happens after that I'm at a bit of a loss as to why https://github.com/GP89/TestStaticServer Thanks!
2
1
445
Aug ’22
Network framework only receiving first chunk of data
Hey I've run into an issue using network framework in that I'm only receiving the first chunk of data. I really can't tell if it's how I'm using the Network.framework bits on the client side, or if it's an issue with the server side (I'm using Vapor). I put together a basic example project that hopefully demonstates the issue. If you run the server target and then the client target for me I receive 174 bytes in the first receive, receive is then called again but nothing happens after that I'm at a bit of a loss as to why https://github.com/GP89/TestStaticServer Thanks!
Replies
2
Boosts
1
Views
445
Activity
Aug ’22