ppegusii / cs677-smart-homes-IoT

Programming Assignment 1: Internet of Things and Smart Homes
GNU General Public License v2.0
2 stars 0 forks source link

Register Params struct changed #6

Closed ameetrivedi closed 9 years ago

ameetrivedi commented 9 years ago

changing the struct to:

type RegisterParams struct { Type Type Name Name //Cannot get caller IP from rpc library. //Might as well send listening port too. Address string Port string // ListenSocket net.TCPAddr }

Reason: ListenSocket of type net.TCPAddr is difficult to create after finding out the sensor's IP and port where it would listen.

ppegusii commented 9 years ago

"Name Name" was changed to "Name Type". I changed it back to "Name Name" but have not yet committed.