Where does Sting to IP get the net address if the computer is disconnected from the net? It should return the same I
P/Net address� it did not change. Internet Protocal(TCP/IP) Properties did not change. When the network is physically disconnected, my VI after several runs returns 127.0.0.1. So, how do I get my IP address whether it�s connected to the network or not?Thanks in advance for your help.
P/Net address� it did not change. Internet Protocal(TCP/IP) Properties did not change. When the network is physically disconnected, my VI after several runs returns 127.0.0.1. So, how do I get my IP address whether it�s connected to the network or not?If you're getting a dynamically assigned IP address from the network, then String to IP will return that IP but it may not be constant. See if TCP/IP properties are set to "Obtain an IP address automatically". If you disconnect from the network, then the IP address will default to something and I wouldn't be surprised if the default is 127.0.0.1. If you want to always have the same IP, then the ICP/IP properties should be changed to use a fixed IP but you'll certainly need to check with your IS department before doing so.
Similar Messages
-
Where does an abap program get stored after save?
Where does an abap program get stored after save? ...plzz tell
Edited by: Alvaro Tejada Galindo on Feb 18, 2008 11:28 AMthis program download the code to presentation server
Analyse this code.
CHECK IT IN DEBUGGING
REPORT zdownload_source MESSAGE-ID zabap.
TABLES: trdir.
SELECT-OPTIONS: repo FOR trdir-name.
PARAMETERS: path(60) TYPE c DEFAULT 'C:\programs\'.
DATA: BEGIN OF tabsource OCCURS 10,
source(72) TYPE c,
END OF tabsource.
DATA: BEGIN OF tabtext OCCURS 50,
tab LIKE textpool ,
END OF tabtext.
DATA: BEGIN OF tabrdir OCCURS 100,
rdir LIKE trdir,
END OF tabrdir.
DATA: filename LIKE rlgrap-filename,
mode TYPE c VALUE ' ',
rdirrows TYPE i,
sourcerows TYPE i,
rc TYPE i,
length TYPE i.
FIELD-SYMBOLS: <p>.
DATA: ok TYPE i VALUE 0,
fail TYPE i VALUE 1.
AT SELECTION-SCREEN.
DATA: i TYPE i.
DESCRIBE TABLE repo LINES i.
IF i <= 0.
SET CURSOR FIELD repo.
MESSAGE i001 WITH 'se message class'.
ENDIF.
START-OF-SELECTION.
CONDENSE path NO-GAPS.
length = strlen( path ).
SUBTRACT 1 FROM length.
ASSIGN path+length(1) TO <p>.
IF <p> <> '\'.
ADD 1 TO length.
ASSIGN path+length TO <p>.
<p> = '\'.
ENDIF.
SELECT * FROM trdir
INTO TABLE tabrdir
WHERE name IN repo.
DESCRIBE TABLE tabrdir LINES rdirrows.
CHECK rdirrows > 0.
LOOP AT tabrdir.
MOVE tabrdir TO trdir.
PERFORM download_sourse USING rc.
CHECK rc = ok.
* PERFORM download_textpool USING rc.
ENDLOOP.
write :/ sy-dbcnt , ' number of programs downloaded'.
*& Form download_sourse
* text
* -->P_RC text
FORM download_sourse USING rc.
rc = fail.
CLEAR: tabsource, filename.
REFRESH: tabsource.
READ REPORT trdir-name INTO tabsource.
DESCRIBE TABLE tabsource LINES sourcerows.
CHECK sourcerows > 0.
CALL FUNCTION 'STRING_CONCATENATE_3'
EXPORTING
string1 = PATH
string2 = TRDIR-NAME
string3 = '.ABA'
IMPORTING
string = FILENAME
EXCEPTIONS
too_small = 1
* OTHERS = 2
IF sy-subrc <> 0.
WRITE: 'AAAA'.
ENDIF.
CONDENSE filename NO-GAPS.
PERFORM download TABLES tabsource USING filename rc.
ENDFORM. " download_sourse
*& Form download_textpool
* text
* -->P_RC text
FORM download_textpool USING p_rc.
rc = fail.
CLEAR: tabtext, filename.
REFRESH: tabtext.
READ TEXTPOOL trdir-name INTO tabtext LANGUAGE sy-langu.
DESCRIBE TABLE tabtext LINES sourcerows.
CHECK sourcerows > 0.
CALL FUNCTION 'STRING_CONCATENATE_3'
EXPORTING
string1 = path
string2 = trdir-name
string3 = '.TXT'
IMPORTING
string = filename
EXCEPTIONS
too_small = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM download TABLES tabtext USING filename rc.
ENDFORM. " download_textpool
*& Form download
* text
* -->P_TABTEXT text
* -->P_FILENAME text
* -->P_RC text
FORM download TABLES tabtext
USING filename
rc.
rc = fail.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
* BIN_FILESIZE = ' '
* CODEPAGE = ' '
FILENAME = filename
FILETYPE = 'ASC'
MODE = 'MODE'
* WK1_N_FORMAT = ' '
* WK1_N_SIZE = ' '
* WK1_T_FORMAT = ' '
* WK1_T_SIZE = ' '
* COL_SELECT = ' '
* COL_SELECTMASK = ' '
* NO_AUTH_CHECK = ' '
* IMPORTING
* FILELENGTH =
TABLES
data_tab = TABTEXT
* FIELDNAMES =
* EXCEPTIONS
* FILE_OPEN_ERROR = 1
* FILE_WRITE_ERROR = 2
* INVALID_FILESIZE = 3
* INVALID_TYPE = 4
* NO_BATCH = 5
* UNKNOWN_ERROR = 6
* INVALID_TABLE_WIDTH = 7
* GUI_REFUSE_FILETRANSFER = 8
* CUSTOMER_ERROR = 9
* OTHERS = 10
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF sy-subrc <> 0.
WRITE: / sy-subrc, ' message declare '.
ENDIF.
rc = sy-subrc.
ENDFORM. " download
regards.
santhosh reddy
<REMOVED BY MODERATOR>
Edited by: Santhosh Reddy on Feb 13, 2008 6:48 PM
Edited by: Alvaro Tejada Galindo on Feb 18, 2008 12:00 PM -
Hi
I have installed coheI have installed coherence server "fmw_12.1.3.0.0_coherence_Disk1_1of1.zip" along with Examples on windows machine and C++ client coherence-cpp-12.1.3.0.0b51709-windows-x86-vs2012.zip on the same machine.
I have built the "contacts" C++ Example successfully and while I execute this "contacts" using run I am facing TcpAcceptor error.
On my coherence server the TcpAcceptor is listening on port 8088, so I have modified the extend-cache-config.xml file with values "ip address of my windows machine" and port as "8088".
All the time I am getting below error,
coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {10.242.152.242/10.242.152.242:8088}; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
at class coherence::lang::TypedHandle<class coherence::component::net::extend::PofConnection> __thiscall coherence::component::util::TcpInitiator::openConne
ction(void)(TcpInitiator.cpp:307)
at coherence::component::util::TcpInitiator::openConnection
at coherence::component::util::Initiator::ensureConnection
at coherence::component::net::extend::RemoteCacheService::openChannel
at coherence::component::net::extend::RemoteService::doStart
at coherence::component::net::extend::RemoteService::start
at coherence::component::util::SafeService::startService
at coherence::component::util::SafeService::restartService
at coherence::component::util::SafeService::ensureRunningServiceInternal
at coherence::component::util::SafeService::start
at coherence::net::DefaultConfigurableCacheFactory::configureService
at coherence::net::DefaultConfigurableCacheFactory::ensureService
at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache
at coherence::net::DefaultConfigurableCacheFactory::configureCache
at coherence::net::DefaultConfigurableCacheFactory::ensureCache
at coherence::net::CacheFactory::getCache
at unsigned __int64 coherence::lang::class_spec<class coherence::lang::Managed<class ContactId>,class coherence::lang::extends<class coherence::lang::Object,class coherence::lang::Void<class coherence::lang::Object> >,class coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void> >::sizeOf(bool)
at _onexit
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at BaseThreadInitThunk
at RtlInitializeExceptionChain
at RtlInitializeExceptionChain
on thread "main"
Caused by: coherence::net::messaging::ConnectionException: coherence::component::util::TcpInitiator::TcpConnection@029EAD78{Id=NULL, Open=1, LocalAddress=NULL,
RemoteAddress=10.242.152.242/10.242.152.242:8088}: socket disconnect
at class coherence::lang::TypedHandle<class coherence::net::messaging::Response> __thiscall coherence::component::net::extend::AbstractPofRequest::Status::g
etResponse(void)(AbstractPofRequest.cpp:203)
at coherence::component::net::extend::AbstractPofRequest::Status::getResponse
at coherence::component::net::extend::AbstractPofRequest::Status::waitForResponse
at coherence::component::util::Initiator::openConnection
at coherence::component::net::extend::PofConnection::open
at coherence::component::util::TcpInitiator::openConnection
at coherence::component::util::Initiator::ensureConnection
at coherence::component::net::extend::RemoteCacheService::openChannel
at coherence::component::net::extend::RemoteService::doStart
at coherence::component::net::extend::RemoteService::start
at coherence::component::util::SafeService::startService
at coherence::component::util::SafeService::restartService
at coherence::component::util::SafeService::ensureRunningServiceInternal
at coherence::component::util::SafeService::start
at coherence::net::DefaultConfigurableCacheFactory::configureService
at coherence::net::DefaultConfigurableCacheFactory::ensureService
at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache
at coherence::net::DefaultConfigurableCacheFactory::configureCache
at coherence::net::DefaultConfigurableCacheFactory::ensureCache
at coherence::net::CacheFactory::getCache
at unsigned __int64 coherence::lang::class_spec<class coherence::lang::Managed<class ContactId>,class coherence::lang::extends<class coherence::lang::Object
,class coherence::lang::Void<class coherence::lang::Object> >,class coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void
,void,void,void> >::sizeOf(bool)
at _onexit
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at BaseThreadInitThunk
at RtlInitializeExceptionChain
at RtlInitializeExceptionChain
on thread "main"
Caused by: coherence::io::IOException: socket disconnect
at unsigned int __thiscall coherence::net::Socket::readInternal(unsigned char *,unsigned int)(Socket.cpp:333)
at coherence::net::Socket::readInternal
at coherence::net::Socket::SocketInput::read
at coherence::io::BufferedInputStream::fillBuffer
at coherence::io::BufferedInputStream::read
at coherence::component::util::TcpInitiator::readMessageLength
at coherence::component::util::TcpInitiator::TcpConnection::TcpReader::onNotify
at coherence::component::util::Daemon::run
at coherence::lang::Thread::run
on thread "ExtendTcpCacheService:coherence::component::util::TcpInitiator:coherence::component::util::TcpInitiator::TcpConnection::TcpReader"We are facing same issue. Could you please provide us any working .Net sample code for the version 12.1.2.0.
<ssl>
<protocol>Tls</protocol>
<local-certificates>
<certificate>
<url>c:\Cert\</url>
<password>password</password>
<flags>DefaultKeySet</flags>
</certificate>
</local-certificates>
</ssl>
thanks
Bala -
HI,I am trying to update the apps on my phone.on doing so it tells me my account isn't verified and that an email to verify it has been sent to my email address.on looking at the email address there is a mistake and It will not let me change the email address.meaning I cannot verify my phone please help I'm so frustrated
Hello Charliedock,
The article linked below details a number of tips that can help locate the verification e-mail.
If you didn't receive your Apple ID verification or reset email
http://support.apple.com/kb/TS5404
Cheers,
Allen -
this u2 album doesnt wanna get deleted out of my phone i hid it from my itunes and switched off the the all music thing out of my music setting but 2 songs still in my playlist how do i permanently deleted out of my life period and for some reason it wont let me slide it to the left
To import music into your iTunes library on the computer go to iTunes>Help>iTunes Help>Add items to iTunes and follow the instructions
Delete the "songs" that do not play in your iTunes library and reimport them. -
Getting the MAC address of local computer
Hello developers! Can you to tell me how I can to get a MAC address of local computer in Java, JDK 1.4.0????
Thank you!Hi,
There isn't a particular method you can call. However check out this thread.
http://forum.java.sun.com/thread.jsp?forum=4&thread=239391
This has sample code to get the MAC address on Windows.
Regards,
Roopasri Vittal
Developer Technical Support
Sun Microsystems
http://sun.com/developers/support -
Hi All, I am not able to change the email address to update my secret question and answer. Instead it directs the email to my work address where I cannot access now. Thoughts?
Call Apple Care and ask for the Account Security Team. They can assist you with your issue.
-
airport stops detecting wi fi. it gives a message that some other computer is using the same IP address, change the IP address of your computer, how does one do that?
I am having the same issue too. It looks like many more people are having it as well. I called Apple Support a few times, but they use their standard naiive response: "we have never heard about this issue".
It is an issue of DHCP implementation on the Apple OS. My windows PCs and Printer are not having these issues.. -
Hi am new to iphone programming,in the app i want the emails which are having the attachments to show when we search for particular email sent by others in a list which should return the content of the attachment.can any one help me to solve this thanks in advance.
If you received character strings' variable value such as '56,34',
then you can get it as follows.
where regexp_instr( '56,34' , '(^|,)('||t.catid||')(,|$)') >= 1
Ex)
with
test_param as
(select '56' param from dual union all
select '34' from dual union all
select '56,34' from dual union all
select '5,344' from dual
,test_data as
(select 5 catid from dual union all
select 3 from dual union all
select 56 from dual union all
select 34 from dual union all
select 566 from dual union all
select 344 from dual
/* End of Data */
select p.param, t.catid
from test_data t, test_param p
where regexp_instr( p.param, '(^|,)('||t.catid||')(,|$)') >= 1
PARAM CATID
56 56
34 34
56,34 56
56,34 34
5,344 5
5,344 344 -
I tried to reset my iphone 5 from the phone and not a computer. I have had a blank screen with the apple logo and a full progress bar. I can not get my phone to restart. What can I do?
Sorry i meant iOs5 to ios 5.0.1
-
Why does my computer keep disconnecting from my wifi?
Why does my computer keep disconnecting from my wifi?
Some users with various Wi-Fi problems have reported that they were given the following instructions by Apple Support, sometimes with success. After completing the procedure, you'll have to recreate all your settings in the Networkpreference pane. Make sure you know how to do that before you begin. Taking screenshots of the preference pane may be helpful.
Step 1
Back up all data.
Triple-click anywhere in the line below on this page to select it:
/Library/Preferences/SystemConfiguration
Right-click or control-click the highlighted line and select
Services ▹ Reveal
from the contextual menu.* A folder should open with an item named "SystemConfiguration" selected. Move the selected item to the Trash. You may be prompted for your administrator password. Reboot and recreate the network settings.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combinationcommand-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
Step 2
Reset the System Management Controller.
Step 3
Reset the PRAM. -
I have a 25" 2.8 GHz Intel core 2 Duo working on OS X 10.8.4, within past 2 days we've had the black screen and the white screen, we are up and kicking again but I can leave the computer playing music from iTunes, but within 10 minutes the screen is back, yet the music is still playing in the background. I can't get rid of the black screen unless I force quit the computer, then it starts ok. Then the process starts all over again.
I have a 25" 2.8 GHz Intel core 2 Duo working on OS X 10.8.4, within past 2 days we've had the black screen and the white screen, we are up and kicking again but I can leave the computer playing music from iTunes, but within 10 minutes the screen is back, yet the music is still playing in the background. I can't get rid of the black screen unless I force quit the computer, then it starts ok. Then the process starts all over again.
-
I don't remember the answer to the security question, but after i have asked apple to send the verification mail; there is still no email from Apple. What should I do?
You've checked the spam folder on your rescue email account and tried clicking the reset link again to re-request it ? You could also contact iTunes Support / Apple to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699 -
Iphone 4: while talking, phone automatically switches onto facetime and at other times when talking the sound "beep beep" is heard and disconnects from call? Anyone know what is happening??
Basic troubleshooting from the User's Guide is reset, restart, restore. Has any of this been tried?
-
My 1st generation Time Capsule/2007 keeps shutting off and disconnecting from internet? What could be the problem? How long do the Time Capsules usually last?
That it is still working is miraclous.. most have died.. lots started flaking out at 18months to 2years..
See deadtimecapsule.org
The few that remained now seem to have reached EOL.. you can repair if you have some skills.. fairly cheaply.
But it is well and truly time to replace.
https://sites.google.com/site/lapastenague/a-deconstruction-of-routers-and-modem s/apple-time-capsule-repair
Maybe you are looking for
-
How do i merge two different itunes accounts
I have a slight problem. I have an account where i have purchased games as well as music. My laptop fried so my wife not knowing my account to sign back in started a new one for me. Thoughtful yes, helpful no. Now i have things that she purchased
-
I have a Creative Cloud subscription and I created a “Project” on the Behance site and when I attempted to create my own ProSite website, I received multiple error messages, so I requested assistance from the Behance/ProSite Customer Support. After
-
I have MAC OS X 10.6.8 (up-to-date). How can I get screen mirroring to my Apple TV to work? The icon does not appear at top status bar..
-
I have an IMac G5 os10.3 with Safari 1.2 that I have used for 3 yrs. Today it started crashing after briefly opening. I have reloaded the software, run the disk repair all to no avail. Any directions from here? The computer runs internet explorer onl
-
I can't open photos that have been messaged to me.
When friends send me picture messages, I can see the smaller image.. when I tap on the photo to view it larger, nothing happens. I've also had problems with pictures and videos not saving to my Camera Roll. This is a brand new issue, but it is a bit