SalemAlqahtani
Posts: 38
Joined: Tue Jun 24, 2014 4:42 pm

Socket and Timestamping

Sat Jan 02, 2016 7:13 pm

Hi there,

I am trying to do a socket connection between raspberry pi and my laptop through socket connection. This part is sort of easy but I have not implement it yet but need to do something more. I want to implement time stamping for each packet I send and I receive in server (laptop side). In other words, Once I take picture through raspberry pi camera, I am trying to send that picture through socket. before I do so, I want to take a time stamping for that picture and send it and when it received by server I need to take another time stamping. so, in this case I will find out how long my picture or image that i uploaded from pi takes to be in server side. Then I want to send ACK packet to the pi and do the same scenario. I am trying to learn who it's working but i could not. please i need some guidance.

Sincerely

mutley
Posts: 61
Joined: Sat Jan 02, 2016 8:06 pm

Re: Socket and Timestamping

Sat Jan 02, 2016 8:16 pm

You should probably post this in one of the programming language sections, along with what type of socket connection you are trying to use. Without knowing the language, socket/protocol type and any socket abstraction layer you may be using, it's impossible to answer. But as a quick kind-a useless answer it's probably not a good idea to do this at the socket level as you will not get reliable results since there is no guarantee of packet delivery ordering.

Return to “Networking and servers”