With "socket library" you mean libc?
you can ofcourse do a syscall directly, but i am not sure what value add _that_ is, `man -S 2 syscall` for more information.
edit: 'typically' because some languages / runtimes might go the syscall route.
I suppose though in the context of Linux it's a bit weird, but you did get the correct meaning :).