getservbyname - solution

Bartlomiej Czardybon (
Tue, 14 May 1996 19:35:37 +0200 (MET DST)

Thank You all who adviced me to use htons, I was trying to use it of
course but to letter to linux-kernel got version without htons ( sorry ).
Even with htons on kernel 1.2.13 with libc 5.0.9 it still produces shit :)
Sorry for making noise on list but as you can see it is linux (
in some way ) specific question.

Bartlomiej Czardybon
Silesian Technical University - Faculty of Computer Science