function::sock_state_str2num - Given a socket state string, return the corresponding state number
sock_state_str2num:long(state:string)
state
The state name
tapset::socket(3stap)