Skip to main content

Questions tagged [tcp]

Transmission Control Protocol (TCP) is a transport layer protocol that provides a connection-oriented data stream service with guaranteed, in-order delivery.

3 votes
1 answer
95 views

I'm using a Web extension to communicate with an Isolated Web App over externally_connectable for the capability to use Direct Sockets UDP and TCP sockets from ...
guest271314's user avatar
4 votes
1 answer
122 views

I wrote a small (~350 lines) golang application mainly for fun to explore the language. I was wondering what the standard layout of a little testing tool like this would be from a seasoned golang dev. ...
btolsen131's user avatar
8 votes
2 answers
1k views

The TCP server in the code snippet below is designed to: Read data using one thread while writing data with another thread. Allow only one client to be connected at a time. Automatically close the ...
John's user avatar
  • 469
4 votes
1 answer
132 views

This is a very tiny implementation of Rust that uses redis serialization protocol (RESP). I implemented it as one of code crafters challenges. I have less than a few month experience in Rust, so it ...
Amir reza Riahi's user avatar
3 votes
1 answer
133 views

I'm fairly new at coding and looking to improve. Down below is all of my files for a TCP chatroom with a GUI in java. This is my first networking project so I'm sure it has many problems and does not ...
James Cowsert's user avatar
0 votes
1 answer
264 views

After so many searches and back-and-forth attempts, I have developed an TCP Server to listen to the network stream and it is working fine. So kindly review the code, and please let me know if this ...
Ravi Kumar's user avatar
4 votes
2 answers
133 views

Please help me establish a solid foundation for this computational neuroscience project. I'd like to make sure I'm moving forward with something reasonable before I begin tackling the more complex ...
Ders's user avatar
  • 43
3 votes
1 answer
156 views

Summary This is my core networking code for the lockstep RTS game that I am creating. Clients connect to a relay server via a TCP socket, and any packets sent to the relay server are forwarded to all ...
Dan's user avatar
  • 361
2 votes
1 answer
270 views

review my code if possible. I am making network packet capture using pyshark and python. if possible give me some feedback about the code and help to make it better. ...
user20828450's user avatar
1 vote
3 answers
581 views

I have been using a TCP communications between Python and C# program. Python side (server) runs on a raspberry pi 4 and C# side (client) runs on my computer. RPi and PC connected over Wi-Fi. I have a ...
crackanddie's user avatar
3 votes
2 answers
3k views

I am building a TCP server in C++, and right now it's a test version without logic to handle server-client packet transactions. Please check if there are any memory leak related issues or anything ...
Asdfg Asdfg's user avatar
0 votes
1 answer
1k views

Solving the following problem on Protohackers: https://protohackers.com/problem/1 The problem: Each request is a single line containing a JSON object, terminated by a newline character ('\n', or ...
Rish's user avatar
  • 2,486
3 votes
2 answers
2k views

as an exercise from multithreading and networking I have decided to create my own implementation of TCP server accepting connections from two clients (which is I think a pretty common case e.g. chess ...
Artur's user avatar
  • 169
2 votes
1 answer
623 views

I am looking for feedback to perfect my code developed for WPF in terms of speed, stability and resiliency. My code is supposed to handle synchronous status polling as well as asynchronous Commands to ...
Bilal Kazi's user avatar
1 vote
1 answer
185 views

So I am getting packets from TUN interface and after that processing the packet, and then try to send correct TCP handshake response message. It does handle sequence and ack sequence handling but That ...
user786's user avatar
  • 145

15 30 50 per page
1
2 3 4 5
12