first question : is the socket API between the application layer and transport layer in network models is the same as the one used in programming ?
second question :