struct pointer -> local
add udp, http