From SuperUser Answer:
An application that uses the NetBIOS interface API for network communication can be run on any protocol stack that supports a NetBIOS interface.
Can we say that NetBIOS is similar to socket API?
Also what is the relation between SMB and NetBIOS? If NetBIOS is similar to socket API, is it possible to implement SMB in socket API?
Please correct me if I am wrong.