Wat exactly are you trying to do? I don't think you'll find a ready-made unit to do what you want from low level TCP perspective.
SMB had many different versions and security so even if you could communicate with a server on such a low level as TCP, you'll have a hell of a time to get all this working correctly.
Using a library like libsmbclient will be much easier.
In Windows you could use the Windows-api to make connections etc.
But I haven't found ready made headers for the Samba libraries of Windows.
But it depends on what you want to do, if you really need them.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365233(v=vs.85).aspxThe client and server establish a NetBIOS session.
The client and server negotiate the Microsoft SMB Protocol dialect.
The client logs on to the server.
The client connects to a share on the server.
The client opens a file on the share.
The client reads from the file.
For example, do you want to use NetBIOS to access SMB?
https://superuser.com/a/694480/235723