UDP recvfrom query

int recvfrom(SOCKET            socket, 
             char            * buffer, 
             int               buflen, 
             int               flags, 
             struct sockaddr * from, 
             int             * fromlen);

I know that recvfrom() returns immediately after it reads buflen from socket. My questions here are –

What if i have requested buflen of 2000 and a single packet in the socket queue is of size 2400?

What if i have requested buflen of 2000 and a single packet in the socket queue is of size 1400?

read more

UDP recvfrom query

int recvfrom(SOCKET            socket, 
             char            * buffer, 
             int               buflen, 
             int               flags, 
             struct sockaddr * from, 
             int             * fromlen);

I know that recvfrom() returns immediately after it reads buflen from socket. My questions here are –

What if i have requested buflen of 2000 and a single packet in the socket queue is of size 2400?

What if i have requested buflen of 2000 and a single packet in the socket queue is of size 1400?

read more

I wore an Apple Watch to this haunted amusement park to see if it’s scary

(credit: Sebastian Anthony)

The Apple Watch, in my eyes, is good for three things: fitness tracking, Apple Pay, and being able to glance at notifications without having to reach into my trousers and pull out my fondleslab. The latter two, I make good use of. In particular, I now pay for almost everything with my Apple Watch. That first one though… fitness tracking… well… how do I put it? I’m, er, rather sedentary. I try my best to stand up whenever my Apple Watch tells me I’ve been sitting still for too long (except for when I’m driving my car), but otherwise I haven’t once availed myself of the Watch’s fitness tracking features.

read more

I wore an Apple Watch to this haunted amusement park to see if it’s scary

(credit: Sebastian Anthony)

The Apple Watch, in my eyes, is good for three things: fitness tracking, Apple Pay, and being able to glance at notifications without having to reach into my trousers and pull out my fondleslab. The latter two, I make good use of. In particular, I now pay for almost everything with my Apple Watch. That first one though… fitness tracking… well… how do I put it? I’m, er, rather sedentary. I try my best to stand up whenever my Apple Watch tells me I’ve been sitting still for too long (except for when I’m driving my car), but otherwise I haven’t once availed myself of the Watch’s fitness tracking features.

read more

How Zack Seckler Uses Humor and Style in Photography

Zack Seckler 2015 15

When dPS first heard about Zack Seckler’s unique style and perspective on photography, we thought you might like to hear about his though process and see some of his work here. So I did an email interview with Zack to ask him a few questions:

#1 – Your work is very unique with a particular sense of humor. Can you tell us a little about your thought process? How do you come up with the ideas for them? What steps do you follow to make them reality?

Whether it be written, drawn, spoken, or televised I have a deep appreciation for humor. I like to laugh, sure, I mean stating the obvious here. But what I love is that humor can push me to see, or think, differently. Like a camera lens, humor can refocus the way we see the world.

read more