Iam a linux programmer and now I start to code in windows evniment, Recently I try to wirte a simple network process,I found someone use socket(...) in code and someone use ::socket(...),I want to kown the different of the both way.Could someone give me a help?
Asked
Active
Viewed 13 times
0
-
Please tag a language ([tag:c++]?). – 001 Jun 11 '18 at 16:08
-
1Possible duplicate of [What is the meaning of prepended double colon "::"?](https://stackoverflow.com/questions/4269034/what-is-the-meaning-of-prepended-double-colon) – 001 Jun 11 '18 at 16:09
-
Must be C++ _sample_ code. @zero, `::` is often just a precaution, see the link that Johnny provided. – Paul Sanders Jun 11 '18 at 16:47