Skip to main content
edited title
Link
j0s3
  • 31
  • 1
  • 3

Does eveyevery socket have its own buffers to send/receive messages?

remove unneeded parts, clarified meaning.
Source Link
AdminBee
  • 23.6k
  • 25
  • 55
  • 77

I'm developping a C application that make extensive use of sockets.

My doubt is: Does every socket that I create have its own buffers to send and/or receive messages from other sockets?

In other words, can sockets be influenced by messages exchange erroneously?

By erroneously I mean that messages sent to one socket can be "leaked" to another socket without the explicit codehaving written (including also the code writtenand be it by mistake) program code that makeswould explicitly transmit messages for one socket accessiblefrom the "intended" receiver to other sockets?another socket.

I'm developping a C application that make extensive use of sockets.

My doubt is: Does every socket that I create have its own buffers to send and/or receive messages from other sockets?

In other words, can sockets be influenced by messages exchange erroneously?

By erroneously I mean without the explicit code (including also the code written by mistake) that makes messages for one socket accessible to other sockets?

I'm developping a C application that make extensive use of sockets.

My doubt is: Does every socket that I create have its own buffers to send and/or receive messages from other sockets?

In other words, can sockets be influenced by messages exchange erroneously?

By erroneously I mean that messages sent to one socket can be "leaked" to another socket without having written (and be it by mistake) program code that would explicitly transmit messages from the "intended" receiver to another socket.

I was wandering wheter ask this question here or on Stack Overflow but it seems to me that this section is more appropriate. I'm developping a C application that make extensive use of sockets. 

My doubt is: Does every socket that I create have its own buffers to send and/or receive messages from other sockets? 

In other words, can sockets be influenced by messages exchange erroneously? 

By erroneously I mean without the explicit code (including also the code written forby mistake) that makes them exchange messages for one socket accessible to other sockets?

I was wandering wheter ask this question here or on Stack Overflow but it seems to me that this section is more appropriate. I'm developping a C application that make extensive use of sockets. My doubt is: Does every socket that I create have its own buffers to send and/or receive messages from other sockets? In other words, can sockets be influenced by messages exchange erroneously? By erroneously I mean without the explicit code (including also the code written for mistake) that makes them exchange messages?

I'm developping a C application that make extensive use of sockets. 

My doubt is: Does every socket that I create have its own buffers to send and/or receive messages from other sockets? 

In other words, can sockets be influenced by messages exchange erroneously? 

By erroneously I mean without the explicit code (including also the code written by mistake) that makes messages for one socket accessible to other sockets?

Source Link
j0s3
  • 31
  • 1
  • 3
Loading