Font Size: a A A

Socket System Call-based Service Network Architecture Design And Implementation

Posted on:2007-11-16Degree:MasterType:Thesis
Country:ChinaCandidate:Q L ShenFull Text:PDF
GTID:2208360185955760Subject:Computer applications
Abstract/Summary:PDF Full Text Request
Service Unit Network Architecture(SUNA) is a kind of network architecture based on service unit.SUNA is different of hiberarchy,it is concise ,extensible and can be easy to be realized.This paper states the virtual circuit architecture prototype host based on SUNA,expatiates on collectivity design,module patition,the function which all modules provide with and the services for user about prototype host based on SUNA.The prototype host provides user with two kinds of data flow service,one is dependable data flow service which uses predigested slip window mechanism to guarantee the dependence and sequence of data flow,the other is undependable data flow service.To transfer data in network must pass UI,network communication protocol and physics network.UI is the bridge between the user and network communication protocol. This paper designs and realizes socket systemcall based on SUNA.The socket systemcalls are compitalbe with traditional socket programming,which makes those users who use SUNA to communicate is easy to cotinue to use internet application in being,what's more,those application programmer needn't learn new program rules. Socket function mainly realizes setting up and initializing service unit socket,initializing service unit and service unit serial and so on.Bind funcion primarily binds local address and port for the socket.Listen function is to evaluate the max length of server's listening queue.Connect function and Accept function set aside rate ahead,infrom user's request of establishing virtual circuit to SUNA,cooperate with SUNA to establish the connection between client and server,return the result.We make use of three handshake with data protocol and virtual circuit mode,in this way,when we translate data,we can look up communication course according to virtual circuit number,at the same time,there aren't source IP address and port,end IP address and port in the head of data package,the speed of translating data advances in a certain extent.Send function and Recv function is to send data collaborating with SUNA,and copy data from the receiving queue of socket to user's buffer.Close function cooperate...
Keywords/Search Tags:Service Unit, Service Unit Network System Structure, Socket SystemCall
PDF Full Text Request
Related items