By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,385 Members | 1,739 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,385 IT Pros & Developers. It's quick & easy.

initialization of a structure or what?

P: 18
can you tell me please what this sample code is all about:
struct in_addr u_long2in_addr(u_int32 val)
{
struct in_addr temp;

temp.s_addr = val;
return temp;
}

thx

PS:i would like if you can to explain it as detailed as posible
May 29 '07 #1
Share this Question
Share on Google+
1 Reply


AdrianH
Expert 100+
P: 1,251
can you tell me please what this sample code is all about:
struct in_addr u_long2in_addr(u_int32 val)
{
struct in_addr temp;

temp.s_addr = val;
return temp;
}

thx

PS:i would like if you can to explain it as detailed as posible
How can you miss the sign that says "DO NOT POST QUESTIONS HERE"?!?!

Next time post in the Forums section.


Adrian
May 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.