This isn't actually anything Linux specific, as that code is used in
C/C#/C++. Here's a quick article about C sockets,
https://www.geeksforgeeks.org/socket-programming-cc/. If you need anything
more in-depth then it's probably best to ask in a programming group.

Jeremiah Bess


On Mon, Aug 5, 2019 at 2:45 PM Divyansh Shukla <[email protected]>
wrote:

> Can someone please explain me what does this (struct sockaddr*)&serveraddr
> mean in CONNECT system call in the following code. I'm reading this syntax
> for the first time, can someone explain?
>
> --
> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
> ---
> You received this message because you are subscribed to the Google Groups
> "Linux Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/linuxusersgroup/694ef598-f03e-4c46-ba4a-28117a7d61ff%40googlegroups.com
> <https://groups.google.com/d/msgid/linuxusersgroup/694ef598-f03e-4c46-ba4a-28117a7d61ff%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/linuxusersgroup/CAN%2BraesSaajZoj7zjAJ26DqqH2j7hCS5Egpg5CLp5RFFdmokOA%40mail.gmail.com.

Reply via email to